package com.jack.cms.common.constant.tips;

/**
 * 返回给前台的成功提示
 *
 * @author JackYuan
 * @date 2016年11月12日 下午5:05:22
 */
public class SuccessTip<T> extends Tip<T> {

	// HttpStatus.OK.value()
	public static final int CODE = 200;
	public static final String MESSAGE = "操作成功";

	protected int code = CODE;
	protected String message = MESSAGE;

	public SuccessTip() {
		this(null);
	}

	public SuccessTip(T content) {
		this(content, MESSAGE);
	}

	public SuccessTip(T content, String message) {
		super.code = CODE;
		super.message = message;
		this.content = content;
	}

}
